<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	
	<link rel="stylesheet" href="css/style_form.css"></link>

</h:head>
<h:body>
	
	<f:view>
		<ui:include src="topo.xhtml"></ui:include>
	</f:view>
	
	<div class="limite">
		
		<h3>Registrar Entrada de Produto em Estoque :.</h3>

		<br/>
		
	    <p:dataTable id="dataTable" var="car" value="" widgetVar="prodTable" emptyMessage="Nenhum registro encontrado" filteredValue="" style="font-size:12px;">
	
	        <f:facet name="header">
	         Listagem de Produtos
	        </f:facet>
	
	        <p:column id="codigoColumn" filterBy="" 
	                headerText="Código">
	            <h:outputText value="Teste" />
	        </p:column>

	        <p:column id="descricaoColumn" filterBy="" 
	                headerText="Descrição">
	            <h:outputText value="Teste" />
	        </p:column>

	        <p:column id="valorColumn" filterBy="" 
	                headerText="Valor">
	            <h:outputText value="Teste" />
	        </p:column>
	        
	        <p:column id="quantidadeColumn" filterBy="" 
	                headerText="Quant. Estoque">
	            <h:outputText value="Teste" />
	        </p:column>
	
	        <p:column id="addColumn" filterBy="" headerText="Adicionar">
	            <p:commandButton id="modalDialogButton" value="Registrar Entrada" onclick="dlg2.show();" type="button"/>
	        </p:column>
	        
	    </p:dataTable>
                    	
		<p:dialog id="modalDialog" header="Entrada de Produto em Estoque" widgetVar="dlg2" modal="true" height="150" resizable="false">
		    <h:form styleClass="form_fornecedor" id="form_produto">
				<h:outputLabel styleClass="wh400">Quantidade:</h:outputLabel>
				<br/>
				<p:inputText styleClass="wh130"></p:inputText>
				<br/>
				<p:commandButton value="Concluir"></p:commandButton>
			</h:form>
		</p:dialog>
		
	</div>
	
</h:body>
</html>